<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>Spanning columns and rows</title>
	</head>
	<body>
		<table border="1">
			<caption>Spanning columns using the colspan attribute</caption>
			<tr>
				<td bgcolor="#efefef" width="100" height="100">&nbsp;</td>
				<td bgcolor="#999999" width="100" height="100">&nbsp;</td>
				<td bgcolor="#000000" width="100" height="100">&nbsp;</td>
			</tr>
			<tr>
				<td bgcolor="#efefef" width="100" height="100">&nbsp;</td>
				<td colspan="2" bgcolor="#999999" width="100" height="100">&nbsp;</td>
			</tr>
			<tr>
				<td colspan="3" bgcolor="#efefef" width="100" height="100">&nbsp;</td>
			</tr>
		</table>
		<hr />
		<table border="1">
			<caption>Spanning rows using the colspan attribute</caption>
			<tr>
				<td bgcolor="#efefef" width="100" height="100">&nbsp;</td>
				<td bgcolor="#999999" width="100" height="100">&nbsp;</td>
				<td rowspan="3" bgcolor="#000000" width="100" height="100">&nbsp;</td>
			</tr>
			<tr>
				<td bgcolor="#efefef" width="100" height="100">&nbsp;</td>
				<td rowspan="2" bgcolor="#999999" width="100" height="100">&nbsp;</td>
			</tr>
			<tr>
				<td bgcolor="#efefef" height="100">&nbsp;</td>
			</tr>
		</table>
	</body>
</html>
